99乘法表

#C#

Posted by Phyxsius on 2023-09-14

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            //i是被乘數,j是乘數
            for (int i = 1; i <= 9; i++)
            {
                for (int j = 1; j <=9; j++)
                {
                    // \t是tab,排版用
                    Console.Write(i + " * " + j + " = " + i * j + "\t");
                }
                Console.WriteLine();
            }
        }
    }
}

#C#







Related Posts

Git error -> fatal: the remote end hung up unexpectedly

Git error -> fatal: the remote end hung up unexpectedly

AppWorks School Batch #16 Front-End Class 學習筆記&心得(駐點階段四:個人專案~Sprint 1)

AppWorks School Batch #16 Front-End Class 學習筆記&心得(駐點階段四:個人專案~Sprint 1)

[ Day 05 ] 用 Puppeteer 來做自動化機器人吧 (四) : Dockerize 篇

[ Day 05 ] 用 Puppeteer 來做自動化機器人吧 (四) : Dockerize 篇


Comments